[Moore Threads] Adaptation for ERNIE-21B and PaddleOCR-VL models on MUSA devices#4683
Merged
Merged
Conversation
devices * Added configs for 21B and OCR models * Added certain adapations for MUSA devices in CLI and some module imports
Contributor
|
/re-run all-failed |
fxyfxy777
approved these changes
Jun 23, 2026
nepeplwu
reviewed
Jun 23, 2026
| @@ -0,0 +1,90 @@ | |||
| device: musa | |||
|
|
|||
Collaborator
There was a problem hiding this comment.
| try: | ||
| from paddle.incubate.fp8 import deep_gemm | ||
| except ImportError: | ||
| warnings.warn( |
| try: | ||
| from paddle.incubate.fp8 import deep_gemm | ||
| except ImportError: | ||
| warnings.warn( |
Collaborator
|
新的硬件支持需要提供安装说明的文档,并在README给出引用,参考: 同时在能力矩阵里多硬件支持部分说明支持的模型:https://github.com/PaddlePaddle/PaddleFormers/tree/develop#%E5%AE%89%E8%A3%85 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Before submitting
testsfolder. If there are codecov issues, please add tests cases first.PR types
PR changes
Description